<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>

    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta name="renderer" content="webkit"/>

    <title>登录</title>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <!-- <link rel="shortcut icon" href="favicon.ico"> -->
    <!--<link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet" th:href="@{/css/bootstrap.min.css}"/>-->

    <link href="../css/animate.css" rel="stylesheet" th:href="@{/css/animate.css}"/>
    <link href="../css/login.css" rel="stylesheet" th:href="@{/css/login.css}"/>

</head>

<body class="gray-bg">

    <div class="login_bg"></div>
    <div class="login_form animated fadeInDown">
        <!--首页背景-->
        <div class="logo-top">
            <img src="../images/CSPAY.png" alt="loading..." th:src="@{/images/CSPAY.png}" />
        </div>
        <!--登录表单-->
        <form class="login-form" role="form" th:action="@{/sys/user_login}" method="post">
            <h1 class="title">登录！欢迎来到CSPAY商户后台</h1>
            <p class="til-p">账号</p>
                <div class="form-group">
                    <input class="til-inp form-control" type="text" placeholder="请输入账号" name="username" required="" />
                </div>
            <p class="til-p">密码</p>
                <div class="form-group">
                    <input class="til-inp form-control" type="password" placeholder="请输入密码" name="pwd" required="" />
                </div>
            <button type="submit" class="btn">登 录</button>
            <div class="errmsg" th:text="${message}"></div>
        </form>
    </div>


    <!--<div class="login-box animated fadeInDown">-->
        <!--<div>-->
            <!--<h3 class="login-title">欢迎使用</h3>-->

            <!--<form class="login-form" role="form" th:action="@{/sys/user_login}" method="post">-->
                <!--<div class="form-group">-->
                    <!--<input type="text" class="form-control" placeholder="用户名" name="username" required="" />-->
                <!--</div>-->
                <!--<div class="form-group">-->
                    <!--<input type="password" class="form-control" placeholder="密码" name="pwd" required=""/>-->
                <!--</div>-->
                <!--<button type="submit" class="btn login-btn">登 录</button>-->
                <!--<div style="color: #cc0000;" th:text="${message}"></div>-->

            <!--</form>-->
        <!--</div>-->
    <!--</div>-->

    <!-- 全局js -->
    <!--<script src="../js/jquery.min.js?v=2.1.4" th:src="@{/js/jquery.min.js}"></script>-->
    <script src="https://cdn.bootcss.com/jquery/1.9.1/jquery.min.js"></script>
    <!--<script src="../js/bootstrap.min.js?v=3.3.6" th:src="@{/js/bootstrap.min.js}"></script>-->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

</body>

</html>
<script>
    $(".login_bg").css("height",($(window).height())/2);
</script>